package com.mdl.springmvc.handler.entity;

import java.io.Serializable;

/**
 * @author 
 * 
 */
public class Gailou implements Serializable {
    private Integer id;

    private String user;

    private String bz;

    private String dengji;

    private String zhuli1;

    private String zhuli2;

    private String zhuli3;

    private String zhuli4;

    private String zhuli5;

    private String zhuli6;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getDengji() {
        return dengji;
    }

    public void setDengji(String dengji) {
        this.dengji = dengji;
    }

    public String getZhuli1() {
        return zhuli1;
    }

    public void setZhuli1(String zhuli1) {
        this.zhuli1 = zhuli1;
    }

    public String getZhuli2() {
        return zhuli2;
    }

    public void setZhuli2(String zhuli2) {
        this.zhuli2 = zhuli2;
    }

    public String getZhuli3() {
        return zhuli3;
    }

    public void setZhuli3(String zhuli3) {
        this.zhuli3 = zhuli3;
    }

    public String getZhuli4() {
        return zhuli4;
    }

    public void setZhuli4(String zhuli4) {
        this.zhuli4 = zhuli4;
    }

    public String getZhuli5() {
        return zhuli5;
    }

    public void setZhuli5(String zhuli5) {
        this.zhuli5 = zhuli5;
    }

    public String getZhuli6() {
        return zhuli6;
    }

    public void setZhuli6(String zhuli6) {
        this.zhuli6 = zhuli6;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Gailou other = (Gailou) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUser() == null ? other.getUser() == null : this.getUser().equals(other.getUser()))
            && (this.getBz() == null ? other.getBz() == null : this.getBz().equals(other.getBz()))
            && (this.getDengji() == null ? other.getDengji() == null : this.getDengji().equals(other.getDengji()))
            && (this.getZhuli1() == null ? other.getZhuli1() == null : this.getZhuli1().equals(other.getZhuli1()))
            && (this.getZhuli2() == null ? other.getZhuli2() == null : this.getZhuli2().equals(other.getZhuli2()))
            && (this.getZhuli3() == null ? other.getZhuli3() == null : this.getZhuli3().equals(other.getZhuli3()))
            && (this.getZhuli4() == null ? other.getZhuli4() == null : this.getZhuli4().equals(other.getZhuli4()))
            && (this.getZhuli5() == null ? other.getZhuli5() == null : this.getZhuli5().equals(other.getZhuli5()))
            && (this.getZhuli6() == null ? other.getZhuli6() == null : this.getZhuli6().equals(other.getZhuli6()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUser() == null) ? 0 : getUser().hashCode());
        result = prime * result + ((getBz() == null) ? 0 : getBz().hashCode());
        result = prime * result + ((getDengji() == null) ? 0 : getDengji().hashCode());
        result = prime * result + ((getZhuli1() == null) ? 0 : getZhuli1().hashCode());
        result = prime * result + ((getZhuli2() == null) ? 0 : getZhuli2().hashCode());
        result = prime * result + ((getZhuli3() == null) ? 0 : getZhuli3().hashCode());
        result = prime * result + ((getZhuli4() == null) ? 0 : getZhuli4().hashCode());
        result = prime * result + ((getZhuli5() == null) ? 0 : getZhuli5().hashCode());
        result = prime * result + ((getZhuli6() == null) ? 0 : getZhuli6().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", user=").append(user);
        sb.append(", bz=").append(bz);
        sb.append(", dengji=").append(dengji);
        sb.append(", zhuli1=").append(zhuli1);
        sb.append(", zhuli2=").append(zhuli2);
        sb.append(", zhuli3=").append(zhuli3);
        sb.append(", zhuli4=").append(zhuli4);
        sb.append(", zhuli5=").append(zhuli5);
        sb.append(", zhuli6=").append(zhuli6);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}